using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DG.Tweening;

public class PlayerEntity : MonoSingleton<PlayerEntity> {
	public Transform visual;
	public Vector3Int cell => BattleFlowController.Instance.WorldToCell(transform.position);
	public void ShakeVisual() {
		visual.DOShakePosition(0.2f, 0.3f, 40, fadeOut: true, randomnessMode: ShakeRandomnessMode.Harmonic);
	}
}
